import http from "./request.ts"

export const productCategoryListWithChildren = (): RES<IAddToProduct[]> => http.get("productCategory/list/withChildren")
export const brandList = (pageNum: number, pageSize: number): RES<Ibrand> => http.get(`brand/list?pageNum=${pageNum}&pageSize=${pageSize}`)
export const categoryList = (pageNum: number, pageSize: number): RES<IcategoryList> => http.get(`productAttribute/category/list?pageNum=${pageNum}&pageSize=${pageSize}`)



